//
//  WithoutDataTableViewCell.m
//  Civacrm
//
//  Created by mubei on 17/2/16.
//  Copyright © 2017年 王桂敏. All rights reserved.
//

#import "WithoutDataTableViewCell.h"

@implementation WithoutDataTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
        
        
    }
    return self;
    
}

- (void)createView{
    self.withOutImageView = [[UIImageView alloc] init];
    self.withOutImageView.image = Image(@"bg_zanwushuju");
    self.backgroundColor = ColorWithHexString(@"f2f8fa");

    [self addSubview:self.withOutImageView];
    
}

- (void)layoutSubviews{
    [super layoutSubviews];
    
    self.withOutImageView.frame = CGRectMake(0, 0, w(193), h(220));
    self.withOutImageView.centerX = self.width/2;
    self.withOutImageView.centerY = self.height/2;
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
